package cn.drenal.capcap.entity.vo;

import cn.drenal.capcap.entity.Category;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class ArtworkListVO {
    private Long id;

    private String title;

    private String coverImage;

    private String description;

    private Long categoryId;

    private String categoryName;

    private Long userId;

    private String username;

    private Integer status;

    private Integer viewCount;

    private Integer favoriteCount;

    private Integer likeCount;

    private Integer commentCount;

    private Integer isActivity;

    private Long activityId;
    
    private String activityName;

    private Integer voteCount;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;
}
